.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

body {
    font-size: 14px;
    // font-family: "Microsoft YaHei";
    font-family: Microsoft YaHei, PingFang SC-Medium, PingFang SC;
}

.default-color {
    color: $default-color;
}

.text-ellipsis-single {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-ellipsis-single-webkit {
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.link-text {
    color: $default-color;
    cursor: pointer;
}

.f-13 {
    font-size: 13px;
}

.f-12 {
    font-size: 12px;
}

.icon {
    font-size: 12px;
    width: 12px;
    height: 12px;
}

.icon-button {
    display: inline-block;
    width: 18px;
    height: 18px;
    font-size: 18px;
    cursor: pointer;
    &:hover {
        color: $default-color;
    }
}

.icon-20 {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.f-10 {
    font-size: 20px;
    zoom: .5;
}

.f-14 {
    font-size: 14px;
}

.f-15 {
    font-size: 15px;
}

.f-16 {
    font-size: 16px;
}

.f-18 {
    font-size: 18px;
}

.font-500 {
    font-weight: 500;
}

.lin-height-1 {
    line-height: 1;
}

.icon-12 {
    width: 12px;
    height: 12px;
    font-size: 12px;
}

.icon-14 {
    width: 14px;
    height: 14px;
    font-size: 14px;
}

.icon-16 {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.icon-18 {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.form-header {
    height: 56px;
    border-bottom: 1px solid #E7E7E7;
    padding: 0 24px;
    display: flex;
    align-items: center;
    font-size: 16px;
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba($color: #ffffff, $alpha: 0.8);

    .iconpark-icon {
        width: 16px;
        height: 16px;
        margin-right: 10px;
        &:hover {
            color: $default-color;
        }
    }
}

.padding {
    padding: $default-padding;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.17em;
}

.color-gray {
    color: $default-gray;
}

.color-blue {
    color: $default-color
}

.color-gray-40 {
    color: rgba(0,0,0,0.4);
}

.disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.cursor-pointer {
    user-select: none;
}

.sticky-top {
    position: sticky;
    top: 0;
}

.sticky-bottom {
    position: sticky;
    bottom: 0;
}

.el-table .el-table__body-wrapper .cell {
    font-size: 12px;
}

.el-input-no-border {
    .el-input__wrapper {
        box-shadow: none;
    }
}

.overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 15;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    overflow: auto;
}

.el-form-item {
    margin-bottom: 20px;
}

.cx-input {
    outline: none;
    box-shadow: 0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;
    border-radius: var(--el-input-border-radius,var(--el-border-radius-base));
    box-sizing: border-box;
    &:focus {
        outline: none;
    }
    &:hover {
        border-radius: var(--el-input-border-radius,var(--el-border-radius-base));
        box-shadow: 0 0 0 1px #266fe8;
    }
}

.input-with-select .el-input-group__prepend {
    background-color: var(--el-fill-color-blank);
}

.mb-1px {
    margin-bottom: 1px;
}

.mt-1px {
    margin-top: 1px;
}

.hover-blue:hover {
    color: $default-color;
    border-color: $default-color !important;
}

.act-blue {
    color: $default-color;
    border-color: $default-color !important;
}

.color-red {
    color: red;
}

.color-success {
    color: #00A870;
}

.auto-select-disabled {
    .el-input__suffix {
        display: none;
    }
}